#include <QApplication>
#include "mainWindow.h"

using namespace std;


void usage(char* command) {
    cerr << "usage : " << command << " <file.pgm3d>" << endl;
    exit(EXIT_FAILURE);
}



#define NB_ARGS 1

int main(int argc, char *argv[])
{

    if (argc != NB_ARGS+1)
        usage(argv[0]);

    QApplication app(argc, argv);

    mainWindow test (argv[1]);
    test.show();

    return app.exec();

}



// renderText
